package com.jimmyhsu.ecnudaowei.coursetable.bulletin;

import com.google.gson.annotations.SerializedName;

/**
 * Created by jimmyhsu on 2017/4/18.
 */

public class Bulletin {

    public static final String TABLE_NAME = "bulletin";
    public static final String COL_COURSE_ID = "course_id";
    public static final String COL_B_ID = "b_id";
    public static final String COL_TITLE = "title";
    public static final String COL_CONTENT = "content";
    public static final String COL_RELEASE_DATE = "release_date";
    public static final String COL_AUTHOR = "author";
    public static final String COL_IMAGEURL = "image_url";

    @SerializedName("course_id")
    private String courseId;
    @SerializedName("b_id")
    private int bId;
    private String title;
    private String content;
    @SerializedName("release_time")
    private String releaseDate;
    private String author;
    private String imageUrl;

    public Bulletin() {}

    public Bulletin(String courseId, int bId, String title, String content, String releaseDate, String author, String imageUrl) {
        this.courseId = courseId;
        this.bId = bId;
        this.title = title;
        this.content = content;
        this.releaseDate = releaseDate;
        this.author = author;
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public int getbId() {
        return bId;
    }

    public void setbId(int bId) {
        this.bId = bId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(String releaseDate) {
        this.releaseDate = releaseDate;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
